@import "compass/css3";
@import "colors";
/* title for search result or tagged posts*/

.label-title {
  margin-top: 1.1em;
  font-size: 20px;
  font-weight: normal;
  color: #888;
}

.post {
  padding: 25px 0 15px;
  margin: 0px 0 30px 0;
  border-bottom: 1px solid #ddd;
  .post-title {
    color: #555;
    margin: 0;
    /*font-weight: 600;*/
    line-height: 1.1;
    font-size: 2.4em;
    text-align: left;
    font-family:georgia,serif,"ff-tisa-web-pro", Cambria, "Times New Roman", Georgia, Times, sans-serif;
    a {
      color: #333;
    }
  }
  .post-meta {
    padding: 0;
    margin: 15px 0 0;
    color: #6E7173;
    float: left;
    text-align: center;
    display: inline;
    text-indent: .15em;
    &:before {
      font-family: "FontAwesome";
      content: "\f073";
      padding-right: 0.3em;
    }
    .category {
      &:before {
        font-family: "FontAwesome";
        content: "\f07c";
        padding-right: 0.3em;
      }
    }
    #busuanzi_value_page_pv {
      &:before {
        font-family: "FontAwesome";
        content: "\f024";
        padding-right: 0.3em;
      }
    }
  }
  .ds-thread-count {
    padding: 0;
    margin: 15px 0 0;
    color: #6E7173;
    float: right;
    display: inline;
    text-indent: .15em;
    &:before {
      font-family: "FontAwesome";
      content: "\f0e5";
      padding-right: 0.3em;
    }
    &:hover {
      color: #444;
    }
  }
  .disqus-comment-count {
    padding: 0;
    margin: 15px 0 0;
    color: #6E7173;
    float: right;
    display: inline;
    text-indent: .15em;
    &:before {
      font-family: "FontAwesome";
      content: "\f0e5";
      padding-right: 0.3em;
    }
    &:hover {
      color: #444;
    }
  }
  .post-content {
    clear: left;
    padding-top: 15px;
    text-align: justify;
    text-justify: distribute;
    word-break: normal;
    margin: 30px 0 10px;
    font-family: NotoSansHans-Regular,AvenirNext-Regular,arial,Hiragino Sans GB,"Microsoft Yahei","Hiragino Sans GB","WenQuanYi Micro Hei",sans-serif;;
    font-size: 16px;
    line-height: 32px;
    color: $posttext;
    blockquote p {
      margin: 1em 0;
      padding: 0 1em;
    }
    h2 {
      font-family: georgia,serif,"SF Pro SC","SF Pro Text","SF Pro Icons","PingFang SC","Helvetica Neue","Helvetica","Arial",sans-serif;
      margin: .6em 0;
      border-bottom: 1px solid #eee;
      overflow: hidden;
      padding-bottom: 4px;
    }
    h3 {
      margin: 1.4em 0 1.1em;
    }
    pre code {
      padding: 0 2em;
    }
    p {
      margin: 0 0 1.234em;
      font-size: 18px;
      line-height: 36px;
      code {
        display: inline-block;
        margin: 0 5px;
        padding: 0 5px;
        background: #f7f8f8;
      }
      a {
        color: #01579f;
        padding-bottom: 2px;
        word-break: break-all;
        &:hover {
          text-decoration: underline;
        }
      }

    }
    .caption {
      color: #444;
      display: block;
      font-size: 0.9em;
      margin-top: 0.1em;
      position: relative;
      text-align: center;
    }
    hr {
      margin: 2.4em auto;
      border: none;
      border-top: 1px solid #eee;
      position: relative;
    }
    img {
      max-width: 100%;
      padding: 0.5em 0;
      margin: auto;
      display: block;
    }
    ul, ol {
      border-radius: 3px;
      margin: 1em 0;
      ul {
        margin: 0;
      }
      code {
        display: inline-block;
        margin: 0 5px;
        padding: 0px 5px;
        background: #f7f8f8;
      }
      a {
        color: #01579f;
        padding-bottom: 2px;
        word-break: break-all;
        &:hover {
          text-decoration: underline;
        }
      }
    }
  }
  .tags {
    padding-bottom: 1em;
    a {
      margin-right: .5em;
      &:before {
        font-family: "FontAwesome";
        content: "\f0c6";
        padding-right: 0.3em;
      }
    }
  }
}
em {
  font-style: normal;
}

@media print, screen and (max-width: 35.5em) {
  .body_container {
    padding: 0 20px ;
  }
  .content_container {
    padding-right: 0;
  }
}

blockquote,.stressed {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 2em 0;
  background: #e4e4e4;
  font-size: 12px;
  padding: 1em;
  background: #ddd;
  background: #555;
  color: #fff;
  @include border-radius(2px);
}
blockquote:before,.stressed-quote:before {
  content: "\201C";
  display: block;
  font-family: times;
  font-style: normal;
  font-size: 38px;
  color: #444;
  font-weight: bold;
  line-height: 30px;
  margin-left: -50px;
  position: absolute;
}
strong,b,em {
  font-weight: bold;
}
pre {
  margin:2em 0;
}
.hidden1 {
  display: none;
}

@media print, screen and (max-width: 48em) {
  .content_container {
    .post{
      .post-title {
        font-size: 1.5em;
        text-align: center;

      }
      .post-content {
        padding-top: 5px;
        margin: 0;
        p {
          margin: 0 0 1em;
          font-size: 16px;
          line-height: 30px;
        }
      blockquote {
        p {
          margin: 0;
        }
      }
      }
      .post-meta {
        padding: 0;
        margin: 15px 0 0;
        color: #6E7173;
        float: none;
        text-align: center;
        display: inherit;
        text-indent: .15em;
      }
      blockquote:before, .stressed-quote:before {
        margin-left: -36px;
      }

    }
  }
}


